const initialState = {
  num: 123
}

export default (state = initialState, actions) => {
  let newState = JSON.parse(JSON.stringify(state))
  // switch (actions.type) {
  //   case "ADD":
  //     console.log(234);
  //     newState.num = newState.num + actions.payload.num;
  //     break;
  // }
  console.log(newState);
  return newState;
}
